package com.unicdata.ai.demo_2af.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.unicdata.ai.demo_2af.common.entity.Permission;

/**
 * 权限服务接口
 *
 * @author java-engineer
 */
public interface PermissionService extends IService <Permission> {

    /**
     * 根据权限编码获取权限信息
     *
     * @param permissionCode 权限编码
     * @return 权限信息
     */
    Permission getPermissionByCode(String permissionCode);
}